<?php $this->display('header');?>
<form action="<?=url('pic/pic/index',null,false)?>" method="POST">
url地址：<?=element::text(array('name'=>'url','size'=>"40"))?> &nbsp;
图片保存地址：<?=element::text(array('name'=>'picpath','size'=>"20"))?> &nbsp;
图片偏移量：<?=element::text(array('name'=>'offset','size'=>"5"))?> &nbsp;
<?=element::submit(array('name'=>'submit','value'=>'获取'))?>
</form>
<?php if(!empty($pic)):?>
<ol>
<?php foreach($pic as $val):?>
<li><?=$val?></li>
<?php endforeach;?>
</ol>
<?php endif;?>
<?php $this->display('footer');